//
// Created by Administrator on 2020/11/12.
//

#ifndef O5G_SRC_O5GUE_LCORE_MISC_MISC_H_
#define O5G_SRC_O5GUE_LCORE_MISC_MISC_H_

#include <stdint.h>

#ifdef __cplusplus
extern "C"
{
#endif

#define UE_INIT_INST_IDX(pInst) \
do {\
    uint32_t macroUeLoop;\
    for (macroUeLoop = 0; macroUeLoop < UE_UE_INST_NUM_MAX; macroUeLoop++)\
    {\
        pInst->ueInst[macroUeLoop].ueIdx = macroUeLoop;\
    }\
} while (0)

#ifdef __cplusplus
}
#endif

#endif //O5G_SRC_O5GUE_LCORE_MISC_MISC_H_
